﻿// *----------------------------------------------------------------
// Copyright (C) 2017 通通优品
// 版权所有。
// 
// 类名：OAuthClaimTypes.cs
// 功能描述：TongTongMall
// 
// Create User：jym 2017/02/09
// 
// Edit User：UserName,EditTime
// Describe：Describe
// ----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TongTongMall.Runtime.Security
{
    public static class OAuthClaimTypes
    {
        /// <summary>
        /// tenant id 标识
        /// </summary>
        public const string TenantID = "http://oauth.tongtongmall.com/identity/claims/tenantId";

        /// <summary>
        /// 租户名称
        /// </summary>
        public const string TenantName = "http://oauth.tongtongmall.com/identity/claims/TenantName";

        /// <summary>
        /// refresh_token标识
        /// </summary>
        public const string RefreshToken = "http://oauth.tongtongmall.com/identity/claims/refreshToken";

        /// <summary>
        /// 授权时写入当前授权平台
        /// </summary>
        public const string Platform = "http://oauth.tongtongmall.com/identity/claims/platform";

        /// <summary>
        /// 匿名用户身份标识
        /// </summary>
        public const string SessionKey = "http://oauth.tongtongmall.com/identity/claims/sessionkey";
        /// <summary>
        /// 登录验证版本
        /// </summary>
        public const string TicketVersion = "http://oauth.tongtongmall.com/identity/claims/ticketversion";
    }
}
